package com.young.canal.serializer;

/**
 * @description：
 * @author: yangyahui01
 * @date: 12/11/24 7:04 PM
 */
public class EventHeaders {
    public static String SLAVE_ID = "x-canal-slaveId";
    public static String SOURCE_ADDRESS = "x-canal-sourceAddress";//mysql地址

    public static String POSITION = "x-canal-position";//binlog位点

    public static String EVENT_TYPE = "x-canal-eventType";//事件类型,@see EventType.java
    public static String EVENT_TYPE_NAME = "x-canal-eventTypeName";

    public static String SCHEMA_NAME = "x-canal-schemaName";//库名

    public static String TABLE_NAME = "x-canal-tableName";//表名

    public static String LOG_FILE_NAME = "x-canal-logFile";//binlog 文件名

    public static String EXECUTE_TIME = "x-canal-executeTime";//binlog日志执行的时间

    public static String DDL = "x-canal-ddl";//binlog日志执行的时间

    public static String DESTINATION = "x-canal-destination";//内部destination名称
}
